<?php echo $this->doctype() ?>
<html>
<head>
<?php echo $this->headTitle() ?>
<?php echo $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8')->appendHttpEquiv('Content-Language', 'ru-RU') ?>
<?php echo $this->headLink()->appendStylesheet('/css/main.css', 'screen') ?>
<?php echo $this->headLink()->appendStylesheet('/css/mediaelementplayer.css', 'screen') ?>
<?php echo $this->headLink()->appendStylesheet('/css/mejs-skins.css', 'screen')
	->appendStylesheet('/css/goog.css', 'screen')
	->appendStylesheet('/css/yoxview.css', 'screen') ?>
<!--[if IE]><link rel="stylesheet" href="/css/ie6-main.css" type="text/css" /><![endif]-->
<script src="/js/closure/goog/base.js"></script>
<script>
goog.require('goog.array');
goog.require('goog.dom');
goog.require('goog.dom.classes');
goog.require('goog.ui.Dialog');
</script>
<script src="/js/jquery/jquery.js"></script>
<script src="/js/jquery/jquery-ui.js"></script>
<script src="/js/jquery/mediaelement-and-player.min.js"></script>
<script src="/js/jquery/jquery.yoxview.js"></script>
</head>
<body>
<div class="main">
  <div class="head">
    <div class="head-caption"><i>Детский сад &laquo;Рябинушка&raquo;</i></div>
  </div>
    <div class="content-container">
      <div class="content">
        <?php echo $this->layout()->content ?>
      </div>
      <div class="sidebar-right">
        <div id="navigation">
        	<h4><i>Навигация</i></h4>
        	<?php echo $this->navigation()->menu() ?>
			<h4><i>Личный кабинет</i></h4>
			<?php echo $this->action('index.min', 'personal.page', 'public') ?>
        </div>
      </div>
    </div>
  <div class="hFooter"></div>
</div>
<div class="footer"></div>
<script>
$('#navigation a').each(function(){
	if ($(this).attr('href') == window.location.pathname) {
		var parent = $(this).parent();
		var text = $(this).text();
		parent.html('<div class="active">' + text + '</div>');
	}
});
$('audio,video').mediaelementplayer({
	pluginPath: '/js/jquery/mediaelement/',
	flashName: 'flashmediaelement.swf',
	silverlightName: 'silverlightmediaelement.xap'
});
</script>
</body>
</html>